<div style="width: 500px; margin: 0 auto">
<div class="all_forms">
<?php
$form = $this->beginWidget('CActiveForm', array(
    'id' => 'login-form',
    'enableClientValidation' => true,
    'clientOptions' => array(
	'validateOnSubmit' => true,
	
    ),
    'htmlOptions' =>array(
	'class' => 'main_form',
    ),
	));
?>
<table border="0" cellpadding="0" cellspacing="0">
    <tr>
	<td class="label_input" ><?php echo $form->labelEx($model, 'first_name'); ?></td>
	<td class="element_form">
	    <?php echo $form->textField($model, 'first_name', array('class' => 'login-inp')); ?>
	    <?php echo $form->error($model, 'first_name'); ?>
	</td>
    </tr>
    <tr>
	<td class="label_input"><?php echo $form->labelEx($model, 'last_name'); ?></td>
	<td class="element_form">
	    <?php echo $form->textField($model, 'last_name', array('class' => 'login-inp')); ?>
	    <?php echo $form->error($model, 'last_name'); ?>
	</td>
    </tr>
    <tr>
	<td class="label_input"><?php echo $form->labelEx($model, 'secondary_name'); ?></td>
	<td class="element_form">
	    <?php echo $form->textField($model, 'secondary_name', array('class' => 'login-inp')); ?>
	    <?php echo $form->error($model, 'secondary_name'); ?>
	</td>
    </tr>
    <tr>
	<td class="label_input"><?php echo $form->labelEx($model, 'phone'); ?></td>
	<td class="element_form">
	    <?php echo $form->textField($model, 'phone', array('class' => 'login-inp')); ?>
	   <?php echo $form->error($model, 'phone'); ?>
	</td>
    </tr>
    <tr>
	<td class="label_input"><?php echo $form->labelEx($model, 'email'); ?></td>
	<td class="element_form">
	    <?php echo $form->textField($model, 'email', array('class' => 'login-inp')); ?>
	    <?php echo $form->error($model, 'email'); ?>
	</td>
    </tr>
    <tr>
	<td class="label_input"><?php echo $form->labelEx($model, 'password'); ?></td>
	<td class="element_form">
	    <?php echo $form->passwordField($model, 'password', array('class' => 'login-inp')); ?>
	    <?php echo $form->error($model, 'password'); ?>
	</td>
    </tr>
    <tr>
	<td class="label_input"><?php echo $form->labelEx($model, 'retry_password'); ?></td>
	<td class="element_form">
	    <?php echo $form->passwordField($model, 'retry_password', array('class' => 'login-inp')); ?>
	    <?php echo $form->error($model, 'retry_password'); ?>
	</td>
    </tr>
    <tr>
	<td></td>
    </tr>
    <tr>
	<td class="label_input"></td>
	<td class="element_form"><?php echo CHtml::submitButton('Login', array('class' => 'submit-login')); ?></td>
    </tr>
</table>
<?php $this->endWidget(); ?>
</div>
    </div>

<div>
	<div>
		<div class="cc"></div>
	</div>
</div>